package com.itheima.reggie.service;

import com.itheima.reggie.Util.Page;
import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Employee;

import java.util.List;

public interface EmployeeService {
    public Employee getByUsername(String Username);
    public int save(Employee employee);
    public List<Employee> getAll();
    public List<Employee> getByname(String name);
    public int updateById(Employee employee);
    public int banById(Employee employee);
    public Employee getById(Long id);


//    /**
//     * 分页查询员工
//     * @param page
//     * @param pageSize
//     * @param name
//     * @return
//     */
//    R<Page> getEmployeePage(int page, int pageSize, String name);
}
